package ModelLayer;

public class OrderState {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_order_state;
    private boolean invoice;
    private boolean send_email;
    private String color;
    private boolean unremovable;
    private boolean hidden;
    private boolean logable;
    private boolean delivery;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public OrderState() {
    }

    public OrderState(int id_order_state, boolean invoice, boolean send_email, String color, boolean unremovable, boolean hidden, boolean logable, boolean delivery) {
        this.id_order_state = id_order_state;
        this.invoice        = invoice;
        this.send_email     = send_email;
        this.color          = color;
        this.unremovable    = unremovable;
        this.hidden         = hidden;
        this.logable        = logable;
        this.delivery       = delivery;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDOrderState(int id_order_state) {
        this.id_order_state = id_order_state;
    }
    public int getIDOrderState() {
        return this.id_order_state;
    }

    //Set & Get: Invoice
    public void setInvoice(boolean invoice) {
        this.invoice = invoice;
    }
    public boolean getInvoice() {
        return this.invoice;
    }

    //Set & Get: Send_Email
    public void setSendEmail(boolean send_email) {
        this.send_email = send_email;
    }
    public boolean getSendEmail() {
        return this.send_email;
    }

    //Set & Get: Color
    public void setColor(String color) {
        this.color = color;
    }
    public String getColor() {
        return this.color;
    }

    //Set & Get: Unremovable
    public void setUnremovable(boolean unremovable) {
        this.unremovable = unremovable;
    }
    public boolean getUnremovable() {
        return this.unremovable;
    }

    //Set & Get: Hidden
    public void setHidden(boolean hidden) {
        this.hidden = hidden;
    }
    public boolean getHidden() {
        return this.hidden;
    }

    //Set & Get: Logable
    public void setLogable(boolean logable) {
        this.logable = logable;
    }
    public boolean getLogable() {
        return this.logable;
    }

    //Set & Get: Delivery
    public void setDelivery(boolean delivery) {
        this.delivery = delivery;
    }
    public boolean getDelivery() {
        return this.delivery;
    }
    // </editor-fold>
}
